const app = getApp()
Page({
    data: {},
    onLoad() {
        app._init_(this)
        this.getHome()
    },

    getHome(){
        app.other.home()
        .then(res=>{
            // console.log(res.data.slideShows)
            const data = JSON.parse(res.data.bigType).data.newSale
            console.log(data)
            this.setData(data)
        })
    },
    // 跳转
    navigateTo(e){
        app.navigateTo(e)
    }
});
